package com.visionet.school.app.web.entity.file;

import com.visionet.school.app.web.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by hxpeng on 2017/3/29.
 */

@Entity
@Table(name = "t_file")
public class FileClass extends IdEntity{

    private String fileName;

    private String filePath;

    private String mediaId;

    private String status;

    private String thumbnail;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public FileClass(String filePath){
        this.filePath = filePath;
    }
    public FileClass(){
    }

    public String toString(){
        return this.getId()+"=="+this.fileName+"=="+this.filePath ;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }
}
